#include <stdio.h>
int main(){
  //printf("%d\n",100*366*24*3600*1000);
  printf("%.0f\n", 100.0 *366 * 24 * 3600 * 1000);
  printf("%I64d\n", 1LL *100 * 366 * 24 * 3600 * 1000);
  return 0;
}
